<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>酷狗播放列表</title>
    <link rel="stylesheet" href="./css/reset.css" />
    <style>
      a {
        text-decoration: none;
      }

      .container {
        width: 100%;
        /* 避免最小宽度后会内容拥挤在一块 */
        min-width: 680px;
        margin-top: 100px;
        display: flex;
        flex-wrap: wrap;
      }

      .container .item {
        width: 25%;
        display: flex;
        justify-content: center;
        margin-bottom: 23px;
      }

      .container .item .item-con {
        width: 150px;
        display: flex;
        flex-direction: column;
      }

      .container .item .item-con:hover a {
        color: skyblue;
      }

      .container .item .item-con a.item-con-img {
        height: 150px;
        overflow: hidden;
        position: relative;
      }

      .container .item .item-con a.item-con-img img {
        display: block;
        border-radius: 10px;
      }

      .item-con a.item-con-img::after {
        display: block;
        content: "";
        width: 100%;
        height: 50%;
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5));
        position: absolute;
        left: 0px;
        bottom: 0px;
        border-radius: 0px 0px 10px 10px;
      }

      .item-con a.item-con-img span {
        position: absolute;
        bottom: 11px;
        left: 11px;
        display: flex;
        align-items: center;
        font-size: 15px;
        color: #fff;
        z-index: 1;
        font-family: Microsoft YaHei;
        font-weight: 400;
      }

      .item-con a.item-con-img span img {
        margin-right: 5px;
      }

      .item-con a.item-con-title {
        margin-top: 13px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 14px;
        color: #333;
        line-height: 18px;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-01.png" alt="image" class="img" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">催眠：Delta脑波音乐减压深度睡眠</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-02.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">失眠急效药 | 钢琴森林</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-03.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">钢琴轻轻奏 | 甜梦静静来</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-04.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">琴音解忧愁 | 悠然入梦乡</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-05.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">音符月下舞|呵护睡眠</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-06.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">白昼在消失 （减压，助眠）</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-07.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">Healing Piano in the Night</a>
        </div>
      </div>
      <div class="item">
        <div class="item-con">
          <a href="#" class="item-con-img">
            <img src="images/flex-08.png" alt="image" />
            <span>
              <img src="images/icon_play.png" alt="image" width="14" />
              2444.万
            </span>
          </a>
          <a href="#" class="item-con-title">润泽你的梦境，绵绵细雨</a>
        </div>
      </div>
    </div>
  </body>
</html>
